package com.web.manager.pojo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@TableName("class")  //表的名字
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Course {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String name;
    private String belong;
    private Integer population;
    private String grade;
}
